package org.jeecg.modules.education.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.education.entity.Education;

import java.util.List;

/**
 * 类的作用
 *
 * @author liujiamiao
 * @email 2544296058@qq.com
 * @date 2020-10-24 21:27
 */
public interface EducationService extends IService<Education> {

    /**
     * 根据id获取名字
     * @param name
     * @return
     */
    Integer getIdByName(String name);

    /**
     * 获取所有学历 并排序
     * @return
     */
    List<Education> sortList();
}
